﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    public struct PersonStruct {
        public string name;
        public string tel;
        public string address;
    }
    class Program
    {
        static void Main(string[] args)
        {
            test3();
        }
        public static void test1() {
            PersonStruct p1;
            p1.name = "蜡笔小新";
            p1.tel = "1234";
            p1.address = "秋叶原";
            Console.WriteLine(p1.name);
            PersonStruct p2 = p1;
            p2.name = "动感超人";
            Console.WriteLine(p1.name);
            PersonClass p3 = new PersonClass();
            p3.name = "蜡笔小新";
            p3.tel = "12345";
            p3.address = "秋叶原";
            Console.WriteLine(p3.name);
            PersonClass p4 = p3;
            p4.name = "动感超人";
            Console.WriteLine(p3.name);


        }
        public static void test2() 
        {
            Student s1 = new Student(0, "学生", "男", "12345", 123, "软件","大班") ;
            s1.print();

            Teacher t1 = new Teacher(1, "老师", "女","12",233,"数学","45");
            t1.print();
        }
        public static void test3() {
            Ailuoke a1 = new Ailuoke("埃洛科","我是一名？",233,233,233,"不想打字");
            a1.hello();
            a1.jineng();

            Taila t1 = new Taila("泰拉","我是一名阿爸阿爸",233,233,233,"2040");
            t1.hello();
            t1.jineng();
        }
    }
}

